<?php
/**
 * Created by PhpStorm.
 * User: zhangrongxiang
 * Date: 2017/6/12
 * Time: 上午10:03
 */
//error_reporting(E_ALL);
////ob_start(); //打开缓冲区
//echo "Hellon"; //输出
//header("location:index.php"); //把浏览器重定向到index.php
//ob_end_flush();//输出全部内容到浏览器


//echo str_repeat('---', 1024);//使缓冲区溢出
//echo 'oschina.net';
//flush();//输出送出的缓冲内容
//sleep(10);
//echo '红薯';
//flush();//输出送出的缓冲内容
//sleep(10);
//echo '虫虫';

//echo "////";
//$cmd = 'system';
//ob_start($cmd);
//echo "ls";
//echo '----------';
//ob_end_flush();


ob_start();
phpinfo();
$a = ob_get_contents();
ob_end_clean();